package cn.yunhe.dao;

import cn.yunhe.model.House;
import cn.yunhe.model.Pagination;

import java.util.List;
import java.util.Map;

public interface HouseDao {
    boolean insertHouse(House house);
    boolean updateHouse(House house);
    boolean deleteHouse(int hid);

    House getById(int hid);
    List<House>searchHouse();

    List<House>searchHouse(Map<String,Object>objectMap);

}
